detect invalid token in holds def

Signed-off-by: William Rockwood <wrockwood@tadl.org>