Description of problem: podman run -it --entrypoint /bin/bash quay.io/openshift/origin-operator-registry:4.6.0 opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd -o etcd # no longer allowed opm index export -i quay.io/olmqe/etcd-index:0.9.2 etcd # creates etcd/etcd/ directory instead of etcd/ Version-Release number of selected component (if applicable): container: podman images quay.io/openshift/origin-operator-registry 4.6.0 8e7989e73bcd 24 hours ago 1.1 GB Inside container: opm version Version: version.Version{OpmVersion:"", GitCommit:"", BuildDate:"2020-09-21T15:33:46Z", GoOs:"linux", GoArch:"amd64"} How reproducible: always Steps to Reproduce: 1. podman run -it --entrypoint /bin/bash quay.io/openshift/origin-operator-registry:4.6.0 2. opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd -o etcd # fails 3. opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd etcd # succeeds with wrong result Actual results: bash-4.4$ ls etcd/ etcd Expected results: bash-4.4$ ls etcd/ package.yaml 0.9.2 0.9.4 Additional info: https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-30189 workaround to make existing scripts work run step 3 mv etcd tmp mv tmp/etcd ./etcd