Fix NPE if trying to release build.bnd
Fix #664 - release: always uses the 'Release' repo
Revert "Fix NPE if trying to release build.bnd"

This reverts commit dd5d6b432431953ef1cfb49646c7d11a984c92c5.
Merge branch 'master' into next

* master:
  Revert "Fix NPE if trying to release build.bnd"
  Fix #664 - release: always uses the 'Release' repo
  Fix NPE if trying to release build.bnd