Hi @NikosSoulounias,
Welcome to the community and thanks for your compliments!
roscd
is obviously picking the first package, while rosrun
is picking the second because it couldn’t find anything in the first, and the second one is also the package and has the python file we are looking for.