Do not allow using invalid paths in openMailbox