Changes the path only if subdomain is not @host

see https://github.com/fog/fog/issues/1631#issuecomment-16396992
Merge pull request #1757 from mhuin/fix_subdomain_check

Changes the path only if subdomain is not @host