fixed issue when uploading style when sld file exist in server and hasn't been purged

This should eventually be passed to gsconfig