I traced the problem to scripts MYmoodle\lib\classes\component.php and MYmoodle\lib\moodlelib.php. I can temporarily fix the issue by hacking moodlelib.php line 8416 by adding a "return false" just before "return ($hash !== $CFG->allversionshash);"
It seems that for some reason when I install my Moodle site locally and upgrade various plugins, function get_all_versions() does not work correctly.
I'll continue to investigate...