devtmpfs: Calling delete_path() only when necessary