Fix random NPEs
PBR-564 Invalid file paths in viewIds are not rejected