Git commits in Moodle 3.7.1 by Dmitrii Metelkin

commit ec920f79014fa99d928ba1a34b8cab7d92a97546
Author: Dmitrii Metelkin <dmitriim@catalyst-au.net>
Date:   Tue, 28 May 2019 08:46:26 +0800
Tag:    v3.7.1

MDL-65326 backup: check caps exist before assigning