Fixing bug when parsing repocop