release build now still works if use has no .git dir