bugfix on empty buildinglist
ported Geb.parser improvement by Mac from dev