tm: fix condition added in previous commit testing xavp list addition to core

(cherry picked from commit 09d136d053cde9a59c6f2937b8e1fa56f590fad0)