init_host_server: correct getopts process

Sorry, #85 caused bug variable assignment went long, `PREVIEW_TARGET_URL="pool.dev"`
I fixed this problem. Please check the procedure `vegrant destroy -f && vagrant up` .
Yes it's buggy implementation so I rewrite more readable.