Test package reboot file exists before outputting

This allows you to run the apt.packages_with_reboots task across
a wider array of machines, including those where there might not
be any packages that require a reboot.