Tailing slash fix.

Signed-off-by: Markus Hubig <mhubig@gmail.com>