bug fixes

Fixed bug in Makefile.targets where sudo is not always called with
touch before actually installing something. Fixed a bug in GetTableRows
when a field value is None an attempt was made to convert it to ipaddr
class.