pylint fixes for debian_ip

@garethgreenaway you did MUCH better on the pylint this round,
these fixes are very minor and almost all represent some updates
to the code that get missed a lot, thanks!