fixed client lookup

formerly client="./${1%.rb}" was necessary but %.* was wrong. #2 breaks the builds.

I shall run tests before pushing