FORGEPLUGINS-139 Ensure project is valid when  reading templates

This ensures that the current project is always available when the
 scaffold template facet is verified as active or not.