autocomplete.js fix autocomplete on undefined data

the beforeSave callback was causing an issue with the defaultLoadingData
being displayed when beforeSave waas called by At.js on the
This is a quick and dirty fix to ensure he callback doesn't attempt to
map the defaultLoadingData.

See #2706
6 jobs for feature-c/auto_complete_empty_set in 4 minutes and 34 seconds (queued for 2 seconds)