Added auto detection for latest rpm package