be more careful about options in _provisionCache
check for options also
Merge pull request #1185 from nlf/master

be more careful about options in _provisionCache