handle trailing slashes otherwise tar will not exclude path (//)