protect against inner ".." in uninstall paths
Merge pull request #6193 from rolandwalker/double_dot_is_relative

protect against inner ".." in uninstall paths