Protect against non-existent paths