Fix inreplace command so it only runs on the stable release and not git release