Fix repository metadata