create a project via openshift, set the remote to be something else than origin and with a different repo address.
Most easily done by cloning a different openshift project and try add that to an existing one.
Or just edit in the server adapter or edit the .settings/openshift file to have a different remote.
Push via server adapter and notice the repository used is not what the remote is pointing to.
The failing code is:
String remoteName = behaviour.getServer().getAttribute(ExpressServerUtils.ATTRIBUTE_REMOTE_NAME,
from ExpressPublishMethod which does not get the right remote name.