Fix check for 'check_rc' in traceback

It may be qualified with the module name, depending on the traceback.

Change-Id: I7406b6b5839fcf23b1b4fface6ad93767fd97ab6