You can reproduce it by installing the latest WP release, and your own plugin.
Try to set a new wp-admin URL and you’ll experience the same error.
Help wanted! I need to know if there’s any way I can solve this, any hack or hook I can use to extend Jetpack galleries in order to use the proper thumbnails