NEXUS-6501: Seems all the path-aware tasks used null paths

To construct requests. Also, there was an insane return
when the path ID was null (why would the method be called then
in the first place?)