Fix environment files regex