remove name from ruby string before checking for path in downloaded binary archive, fix #2662