I have created in my VS2013 solution a Masterpage module. The problem is that during feature activation I encounter a message 'Cannot create "_catalogs/masterpage', as if the feature was not being deployed to the masterpages catalog but rather SP tried to create the folder. Also in the ULS logs there is a message that the type of the module cannot be determined.
Here is my elements.xml: