P4 scm is assumed if .git is not a directory

If, for example, my project is a submodule, then .git will be a file with content: "gitdir: ../.git/modules/mymodule" 

This causes "thor scmversion:current" to fail while attempting nonexistent p4 commands.