NX-493: Fix exception on startup

Caused by the fact that getResultingActionOnWrite
received path that is not coming from a package request