Fix an invalid variable reference when loading SQL evolutions.

A rewrite of this part of the code made use of the wrong filename,
preventing SQL evolution files from being loaded.

Fixes bug #121