Made sure sql images can be obtained - python sg needs a monkey patch for that.

I remember something like this happened last time as well, apparently I removed the money patch code while cleaning up. Fair enough