make pacredir work without config file