I've been using this script for the last year and it's worked fine, but
is now failing with the following error.We get the username from the
computer record in Jamf Pro as well as the model, truncate the model
name (so MacBookPro16,1 becomes MacBookP...