Salt state with sub-directory cannot be displayed

Problem:
After importing states with an hierarchy, trying to edit said state fail.

Expected outcome:
The state can be accessed

Foreman and Proxy versions:
foreman: 1.22.0
foreman_salt: 10.3.1

Other relevant data:
Create state file salt.sls
Create state file foo/bar.sls
Import the state files; salt and foo.bar will be imported
Click on salt. The editor open.
Click on foo.bar, the editor crash

The following appears in the logs

2019-09-04T15:25:48 [I|app|c6fe11ea] Started GET "/salt/salt_modules/foo.bar/edit" for 8.8.8.8 at 2019-09-04 15:25:48 -0400
2019-09-04T15:25:48 [F|app|c6fe11ea]   
2019-09-04T15:25:48 [F|app|c6fe11ea] ActionController::RoutingError (No route matches [GET] "/salt/salt_modules/foo.bar/edit"):
2019-09-04T15:25:48 [F|app|c6fe11ea]   
2019-09-04T15:25:48 [F|app|c6fe11ea] lib/foreman/middleware/logging_context_request.rb:11:in `call'
2019-09-04T15:25:48 [I|app|66ead7a0] Started GET "/favicon.ico" for 8.8.8.8 at 2019-09-04 15:25:48 -0400
2019-09-04T15:25:48 [F|app|66ead7a0]   
2019-09-04T15:25:48 [F|app|66ead7a0] ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
2019-09-04T15:25:48 [F|app|66ead7a0]   
2019-09-04T15:25:48 [F|app|66ead7a0] lib/foreman/middleware/logging_context_request.rb:11:in `call'

Nice catch. Fix: https://github.com/theforeman/foreman_salt/pull/114