Update Mapper.php

There is an issue when you pass Doctrine2 to mapper. 
The type of entity can be Proxies\__CG__\Your\Namespace, whereas we have map for Your\Namespace only.