Fixed `--hostname` flag to work correctly.

`venus run --test tests --hostname localhost` will run Venus and generate test urls based off the hostname `localhost`. This pull request resolves an issue where the `--hostname` flag was not being respected.