STS-3263: fixed problem with certain template projects and workspaces with spaces in the path