ncm-xrootd: fix disk instance not added to the list of managed instances

Includes a unit test for this issue.