build: could not find remote branch fix

* It's a quick fix described in
  https://github.com/drone/drone/issues/284
Prevents the crazy reload when a build has not started yet