fix Sources#get_all method.

Raised NoMethodError when passing ids as source_defs