Remove extraneous conditional

This commit updates the conditional logic in the check for debian repos to only
happen once. The current setup duplicates this logic, as $?.success is
correctly assigned in variable assignments as well.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>