I have the same problem here. The (non-deterministic) steps to reproduce are:
1. Start bash
2. cat someprefixoffilename[TAB]
3. The name is completed correctly
4. Work
5. cat someprefixoffilename[TAB] again
6. This time, the filename comes with a slash "/" in the end
7. (obviously) cat gives an error saying that the directory was not found
I have the same problem here. The (non-deterministic) steps to reproduce are:
1. Start bash ename[TAB] ename[TAB] again
2. cat someprefixoffil
3. The name is completed correctly
4. Work
5. cat someprefixoffil
6. This time, the filename comes with a slash "/" in the end
7. (obviously) cat gives an error saying that the directory was not found