> How about adding && !isUnauthorizedError to if len(mountCandidate.SourceRepository) > 0... below, instead of the continue?    it looks like it will still continue to try next candidate which is not necessary? 