Remove ugly trailing slashes on bare names