Fixed spelling mistake
Added a check for live-boot before trying to purge it