Fixes for handling complex repository dependency definitions in tool dependency recipes.
Merge stable.
strip trailing slashes in tool IDs
change strip to rstrip as proposed by Nicola