[BUGFIX] The generatePulblicUrl signal can also hold a Folder object