Ensure an error is returned if a set is called on a non-existing path.