I've seen goals where a 'keeper rolls the ball in front of them, a player hiding behind them nips round and knocks it in to the net and those have been given.
Maybe the issue was that the ball is in the air? To me that's in play so why isn't the goal given? But I think you're right they changed the rule - wasn't there something about hassling the 'keeper when they have the ball?