Change the mount type to accept a automount_type parameter ['inderect', 'direct', undef] so that mapfile can mean mapfile. I agree that we have to force map type on the master map file though.