Handle blank embed parameter

If the embed parameter is provided but is empty then memberships should
be skipped completely.