Fix broken branch checkout

gitrefs were not working for the package builder. This was due to the
args being one off.