Fixed git.als to always have some refs in the pre-state of commit op