dxpy: Raise ResolutionError if stdout is not a TTY and conflict resolution is required for project names