Removing the try catch so that we break the build if no git dir is found
when running in TC