
When you hit your ball into a penalty area you have three options under penalty of one stroke if the stakes or lines are red, two options under penalty of one stroke if they are yellow, plus an additional option for no penalty… which is to play the ball as it lies if it is safe, practical and prudent to do so!
So, if part of a penalty area is dry, or a grass bank running down into a stream lies within the penalty area markings, for example, there is no problem simply playing the ball as it lies for no penalty. You can even attempt to play it if it is lying in or under water if you so desire.