Make sure directory services are mutually exclusive

Ticket: #5499