Now she is pooping next to the pile. Cat poop, however, is not good for the garden. I find the best way to keep cats from pooping in an area is to make it unlike a kitty litter box. Keep the soil moist. The worst trouble spots for this are dry patches near the foundations of houses.
Foundations are concrete and often wick moisture away from the soil.
You can help battle this problem by digging the soil away from the foundation, putting plastic up against the concrete, and then replacing soil. If you are going to go to this trouble, be sure to ammend the soil with some nice manure or compost. This will help keep the soil moist and get some plants growing there. This is a rather holistic approach to this problem but if you want a quicker fix and don't have time for all that, try the following. Stick pointed sticks in the ground.