Gracefully handle missing returncode