The role of short-range correlations in the nuclear photoeffect