Fixed kernel update check code - it was running AFTER everything was unmounted before