I just looked up some online analyses of this passage. The longest and most serious one concluded that Shakespeare meant “nunnery” in its normal meaning here, but there is evidence of it being used in the other meaning in this time period (by Thomas Nashe, 1567-1601).
Thanks for the info.