[BUGFIX] Ensure validity of template paths before compiling file path
[TASK] Adjust ConfigurationService to recognise PHP registrations