fix projects command on windows

replace separators in the canonical path before comparing with project
path.