Execution of file 'lib/facter/codedeploy_agent_version.rb' on agents where we use this module frequently returns "error while resolving custom fact "codedeploy_agent_version": undefined method `[]' for nil:NilClass".
Environment: Ubuntu 18.04 LTS on AWS + Puppet 6x latest.