Fix/2.2/pinstage

Fix issue with pinning nearline files from PinManager CLI (or executing p2p admin command)

RB: https://rb.dcache.org/r/7053
Ticket: #8275

This fix was requested also by CMS T1