[MAESTRO-3871] prevent error on sudo