Added a test for cache mirror directory end with a slash

On the official Cygwin setup append a slash when the given mirror does not end
with a slash to the mirror directory.
Fixed the cache mirror directory end with a slash