Use absolute path to /etc/hosts

Not providing a path to hosts as an argument or not running from the root directory causes a file not found error.