Reordered call to removeHostEntries because @machine.id is not set after...

... performing @app.call(env)

Fixes #2