Check customer's active_card is not None

This fixes #32