Set sample from context when absent in workspace

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #386 from cbmi/issue-385

Set sample from context when absent in workspace