Check the signature of the swap space before trying to activate it

This way we can report more precise errors if needed.