fix bug when using private instace
Merge pull request #4211 from qunox/privatesubmit

raise exception if serverurl is none