Don't let Detect() bottom out to checking //

Solves bug for cygwin users where this would cause a network lookup
which can be painfully slow in windows
Merge pull request #305 from Kelsin/cygwin-network-fix

Don't let Detect() bottom out to checking //