Simplify jinja syntax for ubuntu pkgrepo test deps

See the below discussion for more info:

https://github.com/saltstack/salt/pull/8872#discussion-diff-7981734R64