Fix detection of resized system partition