fix ValueError when using format in python 2

In Python 2 (and thus in Sublime Text 2) an error occurs when trying to format the "failed import message". The occurring error was "ValueError: zero length field name in format".