Fixed bug when building path for a PUSH request