Don't add file: to the base_strip parameter. Better regexps to find the
repository.