in case of default pxe template foreman_url is not going to be used though. Perhaps runtime exception during template rendering is not such a bad idea (provided the error message is sufficiently informative)?