Revert "Move build.branch-names to project settings"

This reverts commit a38fc17616ae160aa41046470964034294eade1a.