Fix for initial install with remote db only.