Don't die if index hasn't been initialized

Just checked out Mailpile without setting up any kind of mbox format, and needed this small fix to get the web interface to load