Fix handle SpooledDirectory for client without database