rbuildfacade: Properly escape query params in _getResources (APPENG-2867)