Fix for git commit returning 1 on clean working directory