Update bagit_profile.py

mtype is a tuple.  Added index to test on first member of mtype tuple.