Use correct git ref in privay repository (e.g. secure)
Use numeric rather than stringwise comparison when testing serial number