Fix alias bug with Doctrine Module >=0.8.0