get option before access it
Merge pull request #84 from chenhaiq/master

Fix exception from vsphere_datastore_maxfree.rb:30: undefined method `[]=' for nil:NilClass (NoMethodError)