fix DeployToTargetDir to remove query string

from baseUrl when deploying; for use with new AppendVersionQueryParam processor