Update Environment.php

smaller Bug-fix
Merge pull request #25 from Pihaar/patch-8

Update Environment.php