Merge "Don't dump stack when deleting an invalid local ref"