Fix handling of empty item in source file pattern list