fixed issue in gan upload if no version was found