Minor style fix for get_permissions()

- Removed permissions variable