Don't assume there's going to be a record type for opportunity.

Fix for #667. I still need to manually test it once I can create a managed package out of it, but this should fix it...