Fix missing useragent for keys on fresh setup
pep fixes