Discovered host unable to assign subnet

Problem:
After discovering a host from remastered discovery image with rules, kexec fails because it can’t determine the subnet name. Discovery rules are set to my organization and location. Host group is set to my organization and location and the specified subnet name it will be discovered on. Subnet is set correctly in settings. It is a hit or miss if it determines the subnet or not. When, it determines subnet, it kexecs successfully and provisions. When it can’t determine subnet, it sits at the success screen.

Expected outcome:
Discovery determines subnet from facts and kexecs into provision.

Foreman and Proxy versions:
Katello 3.7
Foreman 1.18.1

Foreman and Proxy plugin versions:
Discovery plugin enabled in foreman-installer
tfm-rubygem-foreman_discovery-12.0.2-1.fm1_18.el7.noarch

Other relevant data:
2018-08-21T14:00:53 870c99a8 [app] [I] Current user: foreman_admin (administrator)
2018-08-21T14:00:53 870c99a8 [audit] [I] create event for Nic::Managed with id 102
2018-08-21T14:00:53 870c99a8 [audit] [I] create event for Host::Base with id 81
2018-08-21T14:00:54 870c99a8 [app] [I] Import facts for ‘myhostname’ completed. Added: 168, Updated: 0, Deleted 0 facts
2018-08-21T14:00:54 870c99a8 [audit] [I] update event for Nic::Managed with id 102
2018-08-21T14:00:54 870c99a8 [audit] [I] update event for Nic::Managed with id 102
2018-08-21T14:00:54 870c99a8 [app] [W] Not queueing Nic::Managed: [“Subnet is not defined for host’s location”, “Subnet is not defined for host’s organization”]
2018-08-21T14:00:54 870c99a8 [app] [W] Not queueing Nic::Managed: [“Subnet is not defined for host’s location”, “Subnet is not defined for host’s organization”]
2018-08-21T14:00:54 870c99a8 [app] [W] Not queueing Nic::Managed: [“Subnet is not defined for host’s location”, “Subnet is not defined for host’s organization”]
2018-08-21T14:00:54 870c99a8 [app] [W] Saving ens3 NIC for host myhostname failed, skipping because:
2018-08-21T14:00:54 870c99a8 [app] [W] Subnet is not defined for host’s location
2018-08-21T14:00:54 870c99a8 [app] [W] Subnet is not defined for host’s organization
2018-08-21T14:00:54 870c99a8 [app] [W] Unable to assign subnet - reboot trigger may not be possible, primary interface is missing IP address
2018-08-21T14:00:54 870c99a8 [audit] [I] update event for Host::Base with id 81
2018-08-21T14:00:54 870c99a8 [audit] [I] update event for Host::Base with id 81
2018-08-21T14:00:54 870c99a8 [app] [I] Completed 201 Created in 1086ms (Views: 1.3ms | ActiveRecord: 234.7ms)

Hello, I had to miss this post. Have you fixed it?

It’s probably: Bug #16449: Taxonomy is detected too late during discovery - Foreman