Resolve issue with root_dev not being properly determined

Resolves issue https://github.com/flegmatik/linux-rootfs-resize/issues/5
Merge pull request #6 from odyssey4me/master

Resolve issue with root_dev not being properly determined