Update attribute_driver.rb

The original code provoked the following error during my chef-client run (on omnibus 10.32.2-3).

ERROR: NameError: Cannot find a resource for k on ubuntu version 12.04

My change fixes this error.