Add a condition to avoid edge cases in ssh_user_dir
Fix attributes override for php ini cli