fix projects command on windows

replace separators in canonical path before comparing with the project
path