Fix failing test and keyword editor problem caused by incorrect handling of no keywords file