Dog busted for getting into the trash