[build-gnome-content] Do not discard UI containing templates