Changed code so that md5, permission and ownership checks are not performed on files that are not installed