module resolve broken on windows

Repository.SEPARATOR is a string not regex

bug introduced in 1ae14deecf2f35cedad15cc49e0d583afa97785d