Minor bug fix needed in detector build script

Sylvester Joosten requested to merge fix_new_container into master

Merge request reports