tools: Remove stray "then"
Fixes: 26a09db3add3 (cherry picked from commit f7f570eb97c70bc7f545d79a96c3192181bb8dd1)