Checks for the existence of .pm files in either the working directory
or the mtt subdirectory (copied from