make sure we grab the workspace for store_local

store_local calls report note from db.rb directly instead of going
through the report method. this means we might miss the workspace
causing a stack trace