Fix for when inside .git