image: Fixes on resize root fs script