Changed to check if push is supported before trying to push files / data.