Make sure that we pull latest code for ref

Previously, we were not pulling the latest commits for an existing
repo. This would mean that we would not pickup any changes that had
been added. This is obviously bad, so fix it.