[6.1.0]Fix Bash runfiles_current_repository
for tools
#17329
Merged
runfiles_current_repository
for tools
#17329