nameicap_check_dotdot: trim tracker on check
(cherry picked from commit 49c98a4bf3a87ace0df99056fa683805c1645e61)