acl.GetEntry comes back null

I have an agent that runs perfectly in my template, but won’t work in the production database. The place in the code that fails is

Set entry = acl.GetEntry([a user name goes here])

Stepping through with the debugger reveals “entry” coming back null. (Again, it works fine in the template.) Does this mean the ACL of the database is corrupt? Is there a way to fix it?

Thanks

Subject: Cancel that. I figured it out.