Fixed issue with building menu when importing the very first theme