Pipeline - don't create undefined pipes. AGJS-75
Core - return empty collection instead of undefined. AGJS-75