Fix product check for hosted apps (bug 1113787)

@mstriemer r?