[PATCH V3] mkdumprd: Fix the bug to get persistent device correctly