The code will first check /var/lib/update-manager/meta-release and only if that fails use $HOME (sudo doesn't change $HOME by default). What are the permissions of that file for you?
Thanks, Michael -- DBus errors on Command Line https://launchpad.net/bugs/75381 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs