fix return type for gemspecs by name