Add empty string as default parameter value when returning the available resources instead of undefined.