There was discussion of checking if the module is on the rail before running that hook. As far as I know that is still necessary. @jsutterfield might have more info.