Fixed bug when generating code in URIMaps with no variables.