Fix repository package order