Fix pkg-devel self upgrade when remote repo defaults to non-devel

Issue:	#936
need to realpath restricted if it's symlink/amd-automount