Changed return value to 1 when git repo isn't present