Set path valid default to false (fixes #1217)