Check if module.parent exists before using it for URLs
Version 1.3.2