Decode: Add sanity NULL-checking in debug config