Pointless for GitSCM.getBranches() to be @Exported unless BranchSpec is an @ExportedBean!
[FIXED JENKINS-9843] PreBuildMergeOptions.getMergeRemote() cannot be @Exported, since the return type is not @ExportedBean.
Corrects attempted fix b3ddce6.