Fix postremove miicard fatal error.