fixes ZEN-6934; set uid to device if None; reviewed by kells

git-svn-id: http://dev.zenoss.com/svnint/trunk/core@74497 f5df01ce-0320-0410-9ed9-ddcd13c732cc