I introduced a subtle inconsistency here: the error message now shows paths without trailing slash. This is against Maktaba convention (always show paths to the user with trailing slash). I will change this back.