If I happen to have a spare container with me, usually I'll replace a damaged one. IMO if you found the original and know where it was, that's not the same as putting out a random throwdown for a missing cache.
If it's a specially made container, I'd probably just log Needs Maintenance, but if you're just replacing a pill bottle with something similar I would think it's fair game. In any case definitely mention it in your log