image: More fixes on the resize root fs script