set aliases to empty in case of no alias

elasticsearch < 1.0 does not use aliases
this is a correction so if the http get for _aliases returns a 404, aliases is defined as empty