Do not use partition for bootflag check but disk itself

A device like /dev/sdX1 won't have a bootflag enabled, so instead
look for the bootflag on the corresponding /dev/sdX device instead.

Tested-by: Markus Rekkenbeil