BUGFIX: Made it work when env_url is nil.