fix migrations_path to work in system installation