I quickly checked OFP and the issue is that before the patch the operational inventory used to return {"nodes":{}} when no OF nodes are connect and after the patch it returns nothing:
{"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-message":"Request could not be completed because the relevant data model content does not exist"}]}}
I can quickly change the test if this is intended new behavior.
Since the list is empty, it disappears, I think a 404 is is appropriate here.