Set sample from context when absent in workspace

Fix #385.

Signed-off-by: Don Naegely <naegelyd@gmail.com>