Fixed wrong URL build for patch calls