Actually fix broken to_install function.