add nil guards around new logging statements
add nil guards around new logging statements

mmmorris1975/aws-runas,mmmorris1975/aws-runas,mmmorris1975/aws-runas,mmmorris1975/aws-runas,mmmorris1975/go-aws-runas,mmmorris1975/aws-runas