This small patch uses the Debian system maintenance credentials when they are available. I'm not really a Perl programmer, so you might want to check my code, but it works for me and I think the general intention is obvious enough!
Also recognise a Debian system and use the maintenance credentials.
Just now saw this one and your comments in: rackerhacker#6
I'll close this one and merge the changes in pull #6. Thanks, though!