Bugged maya command (Maya 2011 only)

So I finished a new tool today and sat down to test it in various versions of Maya.
It works in Maya 2014, 2013 and 2012 - but in 2011 things break down.

I’ve narrowed down the problem to the polySelect command -which at first glance appear bugged. Below is the minimum code required to replicate my results. Just open up a new scene and create a cube, then run the code.

import maya.cmds as mc
shell = mc.polySelect("pCube1", extendToShell=0) # prompts error 
print(shell)

Returns [0, 3, 5, 4, 1, 2] in Maya 2012, 2013 and 2014 - which is expected
But returns None in Maya 2011 (even though I can see in the viewport that the entire cube’s faces are selected)

What is going on here?

EDIT:
I would also like to point out that the query-flag does nothing here.
“In query mode, this flag needs a value.” the docs say about the ets -flag, but query=True doesn’t change the return value in 2011.