Update Environment.php

Smaller Bug-fix
Merge pull request #23 from Pihaar/patch-6

Update Environment.php