Don't add custom target or empty options if no resources are specified.
Check if module stream is valid.