fixed the basepath/baseadminpath validation

was broken after recent mongoose api changes + non-blocking read in libshardcache.

Now they are both properly enforced as expected