Fixing getattr for install_task