Prevent loops

If we're already on a build tag, we don't need to do anything.