Use pyparted to check for bootflag [Closes: issue1248]