Harness now checks for .git directory in getAppVersion() (Fix #525)