fix handling of paths relative to dirname
fix handling of paths relative to dirname

this works better when calling from a directory that is not the original
repo (better for testing)

bioconda/bioconda-utils,bioconda/bioconda-utils,bioconda/bioconda-utils