Make sure the source has been checked out before we try to patch.