Fixes Static Content PHP Notice

Notice: Trying to get property of non-object in dosomething_static_content_preprocess_node() (line 62 of /var/www/vagrant/lib/modules/dosomething/dosomething_static_content/dosomething_static_content.module).