Some small fixes
Fix the bugs identified in merge requests !89 (closed) and !119 (closed):
- The
rootfstype
value may include "tmpfs", which is meant to be handled by the kernel and not by us - The resume device check doesn't actually check that the device type is "swap"
Those MRs have stalled as my review comments haven't been addressed. This MR fixes the bugs the way I want.