fixing the join-path issue where it doesn't work with http paths