common: Let's umount dirs by considering longest path first

When umounting, it's faster to umount the longest path first like
/dev/pts before /dev.
common: Adding missing awk

Was missing from my last commit.