Fixed #49: Wrong subdir handling when url has a dash inside