Fix long-standing bug in 'rake import:databases' (I don't know at all how I managed to miss this one...)