make: allow tagged RIOT_VERSION

either I am blind today or is there an if for this else missing? Or is the endif two lines above wrong?