Added a bit to always use .host_template for localhost execution host, even if it's already in there.