Enable resolvconf hooks only when $RESOLVCONF is set to 'yes'

Closes: #722659
gbp: set multimaint-merge

Git-Dch: ignore