fixes #7480 - no longer take ownership of Foreman templates