Prevent @cache from becoming null

When the jira plugin is loaded for the first time, there is
nothing stored in the brain. This causes @cache to get set to
null which results in errors being thrown during @cache.forEach

Only set the cache to data from the brain if that data exists.
Merge pull request #711 from lopopolo/patch-1

Prevent @cache from becoming null