fix #1285 npe in setupblog

fix #1285 null host setupblog

App was crashing when null host uri were entered like `http:///example.com`