Fix for when you start the deploy on a random commit - instead of a branch