FIX: return empty string when no dirname in path
FIX: return empty string when no dirname in path

ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff