Rubbish piled up at a cemetery home to Commonwealth war graves was not fly-tipping but part of a clean-up scheme, a council has said.