Improve repo package name parsing, fix release compare bug