Bail when no keyring is available
tests: Reorder to cope with a total lack of keyrings