common: Bugfix to python invalid token error