How to remove orphaned stanza from local.meta in a custom app which causing permission conflicts when trying to update permissions