Fix handling of empty item in source file pattern list

This is a post-alpha fix. It will be checked in later at a proper time.