#648 Fixed config migration failure when config xml has command with leading/trailing space in template by correcting xsl