Did you get the error when you installed the script or when you did the update? Also, you already had a version BEFORE you did the update (if it started from there)
I am getting that error only under the "Payment Gateway" option.
I did the fresh installation from the 6.5.1 version updated recently here.
I changed the files in the repository folder as mentioned, and added the command line in SQL.
When I updated from 6.5.0 to 6.5.1 through the auto-update under the "Update" section I was getting the error of getting the extended license under "Payment Gateway" option so did a fresh installation from the updated script.