rose edit: stash: fix null profile lookup

This fixes #1348.

@kaday, please review.