Make sure the tab style being built doesn't get 'undefined' put in as a string when there is no lock.