No it wasn't. Problem was if `template` did not exist it didn't bother checking if `layout` key existed.