- Raise an error it the path dir for the role list is empty.
- Add tests.