fixed some logic which was messed up during last changes

when the storage module loading has been moved to libshardcache