[net.ssh] Fix bug when http:basedir not defined