Fixed annoying git revision bug