Fix handling of empty item in source file pattern list

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