Update checkmount.lua

Updated to the new functions.
Merge pull request #55 from WibbenZ/patch-12

Update checkmount.lua