Update autoload.php

Check if we're within an composer "env".