remove trailing slash from flapjack bin path