[repository] require at least 7 hex chars