preventing a bork on a fresh git when fetch_head doesn't exist