fixed branch and buildtype locators when using 'name'