Fix uninitialized value warning in non-default file owner check, more lo...

...cal.versions file hashes to ignore, and fix a regex not compatible with old perl