[refactor] Do not specify redundant None as second argument in dict.get()