Git commits in Moodle 3.9.7 by Tim Hunt

commit 0b3e3d7c54f39ad308279756a689966fbd86d957
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Date:   Tue, 13 Apr 2021 03:30:43 +0800
Tag:    v3.9.7

MDL-71313 repositories: warn if get_instances context is wrong type