Add special case for empty permission, fixes #137