Fix NPE when uses the Skip button (agent not configured)