Fix failing specs

[#56005352]
Query existing real_paths in batch

[#56005352]

In Mdm::Module::Path#each_changed_module_ancestor, collect all
real_paths on disk first and query for all matching
Mdm::Module::Ancestors in the database with one query instead of
iterating through each real_path returned from the File::Find rule, so
there is more real_path Strings in-memory at the same time, but fewer
database queries.