See https://sft.its.cern.ch/jira/browse/SPI-2394?focusedId=117268&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-117268