Remove grubpath in generate_path()

The variable is not used anymore.