Test for alternative yaml file extensions when loading bundles

I took a pretty simple approach with the if statement. Let me know if I can make any improvements.