allow lack of .git dir

allows the lack of a commit message / .git dir - wercker is being inconsistent in providing this.