maven-helper: fix 'latest-version' for snapshot

Noticed by Mark Hiner.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>