Fix integration test read volume dir error.

Should fix #1565