Verify that we have a valid storage in View->getPath

This should make jenkins happy

cc @DeepDiver1975 @PVince81