Wedge a little screw driver (or use the end of a crow bar that has the nail puller on it) under the head. You should be able to get the head high enough to get the hammer under it. Be gentle and you shouldn't tear it. By putting flashing under it, a little tear wouldn't hurt much.