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