fix broken config loading caused by errant DIRECTORY_SEPARATOR

The recently merged in code to use DIRECTORY_SEPARATOR does so in one too many places and therefore stops the package's config from being loaded and having an effect.