Use getModelObject instead of getValue when finding the current
repository setting for the branch picker.