rose edit: fix preview app metadata refresh

This fixes a bug in metadata refresh for previewed apps where the metadata was incorrectly
loaded, which could cause some metadata problems to be reported.

@arjclark, please review.