Fix ubuntu deps for pkgrepo integration tests

This fixes a typo'ed package name, as well as doing logic to determine
the correct package name based on the osrelease.