Fix volume attach operation failure after PR #355