Make syncdb works when running unattended