attempt to not bomb out if we don't have a local git repo (wercker is inconsistently providing the .git dir)