Fix project template not loading env based config