RF-12224: rejectedFileNames array emptiness check fix