Fix crashing bug if database doesn't exist on site bootstrap