Fix repository upload form