Implement travis pattern used in puppetlabs-apt