Fix incorrect use of empty in main config template