BUG: Refs #0740. Added check to make sure baseurl is not empty for that conditional branch.
BUG: Refs #0740. Added check to make sure baseurl is not empty for that conditional branch.

jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas