I don't see if `@ast` is set anywhere besides this method. Therefore, if `partitioned_routes.first.empty?` ever returns true, `@ast` won't get assigned. I think it is safe to make this change. Also, tests do pass.