Fix deploy command contain '>' and converted with htmlentities. closes #2468