Yup, good catch. `modules/exploits/windows/local/payload_inject.rb` appears to be working just fine as it is. Same story for `modules/post/windows/manage/payload_inject.rb`.