Check that the intent and action are non-null before using them.

The action appears to be null on OUYA.