Fix parameters.yml upload

The upload task failed at the first deployment. This patch changes the target directory and checks if the symfony configuration path exists before uploading the parameters.yml.